<?php
return $menu = [
    [
        'name' => '控制台',
        'sub'  => [
            [
                'name' => '服务器信息',
                'url'  => '/system/info',
            ],
            [
                'name' => '欢迎你',
                'url'  => '/system/welcome',
            ],
        ],
    ],
    [
        'name' => '权限控制',
        'sub'  => [
            [
                'name' => '权限列表',
                'url'  => U('rule/index'),
            ],
            [
                'name' => '角色列表',
                'url'  => U('group/index'),
            ],
            [
                'name' => '管理员列表',
                'url'  => U('user/index'),
            ],
        ],
    ],
    [
        'name' => '系统设置',
        'sub'  => [
            [
                'name' => '系统设置',
                'url'  => U('setting/index'),
            ],
        ],
    ],
];
